/* 
 * File:   SBSImage.h
 * Author: paula
 *
 * Created on 13 de septiembre de 2014, 17:05
 */

#ifndef SBSIMAGE_H
#define	SBSIMAGE_H

#include "../Define/DefaultValues.h"
#include "../Controller/SBSLog.h"
#include <string>
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>

using namespace std;

class SBSImage {
public:
    SBSImage();
    SBSImage(const SBSImage& orig);
    virtual ~SBSImage();
    
    int getWidth();
    int getHeight();
    SDL_Texture* getTexture();
    bool loadMedia(string path,SDL_Renderer** gRenderer);
    void freeMedia();
    
    
private:
    
    int width;
    int height;
    SDL_Texture* texture;
    SBSLog* myLogFile;
};

#endif	/* SBSIMAGE_H */

